#ifndef __LINKTREE_H_
#define __LINKTREE_H_
#define ElementType int
typedef struct  TreeNode
{
    ElementType data;
    struct TreeNode *left;
    struct TreeNode *right;
    struct TreeNode *parent;
}TreeNode;

typedef struct LinkTree
{
    TreeNode *root;
    
}LTree;
int InitLTree(LTree *tree);
void InsertDataByParent(LTree *tree,ElementType element);



#endif